package yf.mall.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @author 
 * 课程购买记录表
 */
@Data
public class AppCoursePurchaseEntity implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * ENUM-激活状态:"NO-未激活","YES-已激活"
     */
    private Integer activeStatus;

    /**
     * 激活code
     */
    private String activeCode;

    /**
     * 激活时间
     */
    private Date activeTime;
    //起止时间
    Date[] activeTimes;
    /**
     * 课程id
     */
    private Long courseId;

    /**
     * 购买订单id
     */
    private Long orderId;

    /**
     * 课程节数
     */
    private Long shotCount;

    /**
     * 课程名称
     */
    private String title;

    /**
     * IMG-课程封面
     */
    private String cover;

    private String userName;

    private String userMobile;

    private static final long serialVersionUID = 1L;
}